package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "course_info")
@AllArgsConstructor
@NoArgsConstructor
@NameStyle(Style.camelhumpAndLowercase)
public class CourseInfo {
    @Id
    private String courseId;
    private String courseName;
    private String teacherName;
    private Integer numberOfCourse;
}
